
<div class="search byidcard">
	<span>请输入要检索的生份证：</span><input style="width:230px;" class="search_input" type="text" name="byidcard"/><button style="margin-top:-10px;" class="btn btn-primary" id="submit_search">检索</button>
</div>
<hr>
<div id="byidcard_result"></div>
<script>
	var byname=new PureAjax();
	var submit=document.getElementById("submit_search"); 
	var idcard=document.getElementsByName("byidcard")[0];
	var lookDetail=document.getElementById("lookDetail"); 
	var sid=document.getElementsByName("bysid")[0];
	idcard.focus();
	submit.onclick=function(){
		byname.post({
			dataType:"html",
			async:true,
			data:{getidcard:idcard.value},
			url:URL+"Search/byidcard",
			success:function(data){
				byname.dealJSinHTML(data,"byidcard_result");
			}
		});
		
	}
	
</script>